package com.mdd.admin.service;

import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.validate.ClientCrmFollowupCreateValidate;
import com.mdd.admin.validate.ClientCrmFollowupUpdateValidate;
import com.mdd.admin.validate.ClientCrmFollowupSearchValidate;
import com.mdd.admin.vo.ClientCrmFollowupListedVo;
import com.mdd.admin.vo.ClientCrmFollowupDetailVo;
import com.mdd.common.core.PageResult;

/**
 * 跟进记录服务接口类
 * @author 洁洁
 */
public interface IClientCrmFollowupService {

    /**
     * 跟进记录列表
     *
     * @author 洁洁
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<ClientCrmFollowupListedVo>
     */
    PageResult<ClientCrmFollowupListedVo> list(PageValidate pageValidate, ClientCrmFollowupSearchValidate searchValidate);

    /**
     * 跟进记录详情
     *
     * @author 洁洁
     * @param id 主键ID
     * @return ClientCrmFollowupDetailVo
     */
    ClientCrmFollowupDetailVo detail(Integer id);

    /**
     * 跟进记录新增
     *
     * @author 洁洁
     * @param createValidate 参数
     */
    void add(ClientCrmFollowupCreateValidate createValidate);

    /**
     * 跟进记录编辑
     *
     * @author 洁洁
     * @param updateValidate 参数
     */
    void edit(ClientCrmFollowupUpdateValidate updateValidate);

    /**
     * 跟进记录删除
     *
     * @author 洁洁
     * @param id 主键ID
     */
    void del(Integer id);

}
